﻿using System.Collections.Generic;
using ActivateYourGlutes.Services.Model;

namespace ActivateYourGlutes.Payloads.Home
{
    public class IndexPayload
    {
        public IEnumerable<Services.Model.Goal> ActiveGoals { get; set; }

        public IEnumerable<Services.Model.Goal> AchievedGoals { get; set; }

        public IEnumerable<Activity> RecentActivity { get; set; }

        public string PrimarySeriesXaml { get; set; }

        public string SecondarySeriesXaml { get; set; }

        public string PrimarySeriesTitle { get; set; }

        public string SecondarySeriesTitle { get; set; }

        public bool AccountHasData { get; set; }

        public IndexPayload()
        {
            
        }

        public IndexPayload(IEnumerable<Services.Model.Goal>activeGoals,
                            IEnumerable<Services.Model.Goal> achievedGoals,
                            IEnumerable<Activity> recentActivity,
                            string primarySeriesXaml,
                            string primarySeriesTitle,
                            string secondarySeriesXaml,
                            string secondarySeriesTitle)
        {
            ActiveGoals = activeGoals;
            AchievedGoals = achievedGoals;
            RecentActivity = recentActivity;
            PrimarySeriesTitle = primarySeriesTitle;
            PrimarySeriesXaml = primarySeriesXaml;
            SecondarySeriesTitle = secondarySeriesTitle;
            SecondarySeriesXaml = secondarySeriesXaml;
        }
    }
}